﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace Zatify.WebUI.Models
{
    public class PushTestModel
    {
        [Required]
        public string Message { get; set; }
        [Required]
        public string DeviceToken { get; set; }
        public string AlertMode { get; set; }

        public List<SelectListItem> AlertTypeList
        {
            get
            {
                List<SelectListItem> result = new List<SelectListItem>();
                result.Add(new SelectListItem()
                {
                    Text = "AlertByTone",
                    Value = "AlertByTone"
                });
                result.Add(new SelectListItem()
                {
                    Text = "AlertByVibration",
                    Value = "AlertByVibration"
                });
                result.Add(new SelectListItem()
                {
                    Text = "DoNotAlert",
                    Value = "DoNotAlert"
                });

                return result;
            }
        }
    }
}